package com.jili.blog.service;

import com.jili.blog.dao.entity.Article;
import com.jili.blog.vo.Result;
import com.jili.blog.vo.params.PageParams;

import java.util.List;

public interface ArticleService {
    /**
     * 分页查询文章列表
     * @param params
     * @return
     */
    Result listArticle(PageParams params);

    Result hotArticle(int limit);

    Result newArticle(int limit);

    Result listArchives();
}
